﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HY.Entity
{
    public class Stock : EntityBaseModel
    {
        [StringLength(20)]
        public string Name { get; set; }

        [StringLength(20)]
        public string Code { get; set; }

        [StringLength(20)]
        public string Type { get; set; }

        [StringLength(20)]
        public string Unit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal Weight { get; set; }
    }
}
